package scottb.flex.navigate;

import java.util.EventObject;

public class NavEvent extends EventObject {

    private INavItem old;
    private INavItem current;

    public NavEvent(Navigator source, INavItem old, INavItem current) {
        super(source);

        this.old = old;
        this.current = current;
    }

    public INavItem getOld() {
        return old;
    }

    public INavItem getCurrent() {
        return current;
    }
}
